// com.example.entity.Plan.java
package com.example.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Plan {
    private Integer planid;
    private Integer userid;
    private String planname;
    private String stardate;
    private String enddate;
    private String createtime;
    // 构造函数

    @Override
    public String toString() {
        return "Plan{" +
                "planid=" + planid +
                ", userid=" + userid +
                ", planname='" + planname + '\'' +
                ", stardate='" + stardate + '\'' +
                ", enddate='" + enddate + '\'' +
                ", createtime='" + createtime + '\'' +
                '}';
    }

    public Integer getPlanid() {
        return planid;
    }

    public void setPlanid(Integer planid) {
        this.planid = planid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public String getPlanname() {
        return planname;
    }

    public void setPlanname(String planname) {
        this.planname = planname;
    }

    public String getStardate() {
        return stardate;
    }

    public void setStardate(String stardate) {
        this.stardate = stardate;
    }

    public String getEnddate() {
        return enddate;
    }

    public void setEnddate(String enddate) {
        this.enddate = enddate;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }
}